Skip to content

Conversation

amidofu
Copy link

@amidofu amidofu commented May 10, 2023

Issue #, if available:

Description of changes:

  1. drop logs that cause exceptions when sending to the server
  2. remove logs older than 24 hours compared to the newest log

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@amidofu amidofu marked this pull request as ready for review May 10, 2023 04:39
@amidofu amidofu requested a review from taka-boostdraft May 10, 2023 04:39

//drop logs in sending batch since those logs may cause exceptions
_repo.Reset(null);
LogLibraryServiceError(new Exception("Logs in sending batch are dropped because of exceptions"));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 401 line can be merged here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated, thank you

@taka-boostdraft taka-boostdraft merged commit 2edc6c5 into master May 11, 2023
@taka-boostdraft taka-boostdraft deleted the user/amidofu/donot_retry_sending branch May 11, 2023 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants